﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: TransferLogEntity.cs
// 修改时间：2020-9-8 10:40:12
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：TransferLog 的实体类.
	/// </summary>
	[Table("TransferLog")]
	public partial class TransferLogEntity
	{
		#region Properties
		private int? _transferLogID = 0;
		/// <summary>
		/// 订单过户记录ID(主键)(自增长)
		/// </summary>
		[Column("TransferLogID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? TransferLogID
		{
			get {return _transferLogID;}
			set {_transferLogID = value;}
		}
		
		private int? _orderID = 0;
		/// <summary>
		/// 订单ID
		/// </summary>
		[Column("OrderID",TypeName="int")]
		public int? OrderID
		{
			get {return _orderID;}
			set {_orderID = value;}
		}
		
		private DateTime? _transferTime = null;
		/// <summary>
		/// 过户时间
		/// </summary>
		[Column("TransferTime",TypeName="datetime")]
		public DateTime? TransferTime
		{
			get {return _transferTime;}
			set {_transferTime = value;}
		}
		
		private System.String _ownerUserName = string.Empty;
		/// <summary>
		/// 过户人
		/// </summary>
		[Column("OwnerUserName",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String OwnerUserName
		{
			get {return _ownerUserName;}
			set {_ownerUserName = value;}
		}
		
		private System.String _payerUserName = string.Empty;
		/// <summary>
		/// 付款人
		/// </summary>
		[Column("PayerUserName",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String PayerUserName
		{
			get {return _payerUserName;}
			set {_payerUserName = value;}
		}
		
		private System.String _targetUserName = string.Empty;
		/// <summary>
		/// 过户给
		/// </summary>
		[Column("TargetUserName",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TargetUserName
		{
			get {return _targetUserName;}
			set {_targetUserName = value;}
		}
		
		private decimal? _poundage = 0;
		/// <summary>
		/// 过户费
		/// </summary>
		[Column("Poundage",TypeName="money")]
		public decimal? Poundage
		{
			get {return _poundage;}
			set {_poundage = value;}
		}
		
		private System.String _inputer = string.Empty;
		/// <summary>
		/// 经手人
		/// </summary>
		[Column("Inputer",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Inputer
		{
			get {return _inputer;}
			set {_inputer = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		#endregion
	}
}
